/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ca.trader.sale;

/**
 * C
 * @author Ahsan
 */
public class SaleEntityConsts
{	 
	 // Named query for finding a sale by a seller
	 public static final String NAMED_QUERY_FIND_SALE_BY_SELLER = "Sale.findBySeller";
	 
	 // Named query parameter for finding a sale by user: this paramter is for specifying the seller
	 public static final String NAMED_QUERY_FIND_SALE_BY_USER_PARAM_SELLER_ID = "seller";
	 
	 // Named query for finding sale count by a seller
	 public static final String NAME_QUERY_SALE_COUNT_BY_SELLER = "Sale.saleCountBySeller";
	 
	 // Named query parameter for finding sale count by seller:  this parameter is for specifying the seller
	 public static final String NAME_QUERY_SALE_COUNT_BY_SELLER_PARAM_SELLER_ID = "seller";
	 
	 
	 public static final String NAMED_QUERY_FIND_FAVOURITED_SALE_BY_USER = "Sale.findUserFavouritedSale";
	 public static final String NAMED_QUERY_FIND_FAVOURITED_SALE_BY_USER_PARAM_USER_ID = "userID";
	 public static final String NAMED_QUERY_FIND_FAVOURITED_SALE_BY_USER_PARAM_SALE_ID = "saleID";
	 
	 
	 public static final String NAMED_QUERY_FIND_FAVOURITED_SALE_LIST_BY_USER = "Sale.findUserFavouritedSaleList";
	 public static final String NAMED_QUERY_FIND_FAVOURITED_SALE_LIST_BY_USER_PARAM_USER_ID = "userID";
	 
	 
	 
	 public static final String NAMED_QUERY_FAVOURITED_SALE_COUNT_BY_USER = "Sale.findUserFavouritedSaleCount";
	 public static final String NAMED_QUERY_FAVOURITED_SALE_COUNT_BY_USER_PARAM_USER_ID = "userID";
	 
	 
	 
	 public static final String NAMED_QUERY_SEARCH_SALE_BY_KEYWORDS = "Sale.findSaleByKeywords";
	 public static final String NAMED_QUERY_SEARCH_SALE_BY_KEYWORDS_PARAM_KEYWORD = "keyword";
}
